//配置路由
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
//引入路由组件
import Home from '@/view/Home.vue'
export default new VueRouter({
    //配置路由
    routes:[
        {
            path:'/',
            name:'Home',
            component:Home
        }
    ]
})